package com.xiu.travel.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 系统菜单表
 * </p>
 *
 * @author YuLing
 * @since 2023-10-13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)

@TableName("sys_menu")
@Schema(name = "SysMenu对象", description = "系统菜单表")
public class SysMenu extends BasePojo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @Schema(name = "id", description = "")
    @TableField("id")
    private Long id;

    /**
     *
     */
    @Schema(name = "path", description = "")
    @TableField("path")
    private String path;

    /**
     *
     */
    @Schema(name = "component", description = "")
    @TableField("component")
    private String component;

    /**
     *
     */
    @Schema(name = "visible", description = "")
    @TableField("visible")
    private Integer visible;

    /**
     *
     */
    @Schema(name = "perms", description = "")
    @TableField("perms")
    private String perms;

    /**
     *
     */
    @Schema(name = "icon", description = "")
    @TableField("icon")
    private String icon;

    /**
     *
     */
    @Schema(name = "remark", description = "")
    @TableField("remark")
    private String remark;

    /**
     *
     */
    @Schema(name = "tenant_id", description = "")
    @TableField("tenant_id")
    private Long tenantId;

    /**
     *
     */
    @Schema(name = "tenant_type", description = "")
    @TableField("tenant_type")
    private Integer tenantType;


}
